package com.scuec.trainingmanagementsys.service;
import com.scuec.trainingmanagementsys.entity.Assessment;
import java.util.List;
import java.util.Map;

public interface AssessmentService {
    int addAssessment(Assessment assessment);
    int deleteAssessmentById(Integer assessmentID);
    Assessment findAssessmentById(Integer assessmentID);
    List<Assessment> findAllAssessments();
    List<Assessment> findAssessmentsByTeacherId(Integer teacherID);
    int updateAssessment(Assessment assessment); // 新增修改方法
    List<Assessment> findAssessmentsByDailyReportID(Integer dailyReportID);
    List<Map<String, Object>> findAssessmentsByDailyReportIDWithDetails(Integer dailyReportID);
}